/*
 * @Author: hyman
 * @Date: 2021-12-29 09:01:07
 * @LastEditors: hyman
 * @LastEditTime: 2021-12-29 11:37:59
 * @Description: 请填写简介
 */
//引入封装的请求服务
import { GET, POST, UPLOAD } from '@/services/request.js'

export default {
    // 添加购物车
    cartAdd(data = {}){
        return POST({
            url: '/cart/cart/add',
            params: data
        })
    },
    // 购物车列表
    cartList(data = {}){
        return POST({
            url: '/cart/cart/list',
            params: data
        })
    },
    // 编辑购物车
    cartEdit(data = {}){
        return POST({
            url: '/cart/cart/edit',
            params: data
        })
    },
    // 删除购物车
    cartDelete(data = {}){
        return POST({
            url: '/cart/cart/delete',
            params: data
        })
    }
}